<template>
  <div style="text-align: center;">
    <iframe :src="frameUrl" class="frame"></iframe>
  </div>
</template>

<script>

export default {
  name: "profile",
  data: function () {
    return {
      frameUrl: '',
    }
  },
  methods: {
    getInfo() {
      let AccessToken = sessionStorage.getItem('AccessToken');
      this.frameUrl = 'https://gate.huiye.tech/guest/profile?token='+AccessToken;
    }
  },
  mounted() {
  },
  created() {
    this.getInfo();
  }
}
</script>

<style scoped>
.frame{
  width: 1280px;
  height: 720px;
  border: 0;
}
</style>
